package com.jiangtour.dataobject;

import lombok.Data;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Administrator
 * @Title: ConfigureCategory
 * @ProjectName site
 * @Description: TODO
 * @date 2018/12/24/02416:45
 */
@Entity
@DynamicUpdate
@Data
public class ConfigureCategory {
    /** 类目id. */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer categoryId;

    /** 类目名字. */
    private String categoryName;

    /** 类目类型. */
    private Integer categoryType;

    /**
     * 类目归属
     */
    private String categoryAscription;


    private Date createTime;

    private Date updateTime;

}
